cmake_minimum_required(VERSION 3.20)
project(linkport C)

include_directories(.)
include_directories("../../include")

add_definitions(-D __PRINT__ -D __DEBUG__ -D __ADSPTS101__ -D _LANGUAGE_C -D __ADSPTS__ -D __builtin_quad=int)
#add_definitions(-D __SIMULATE__)

file(GLOB source_files "src/*/*.c*")
file(GLOB head_files "src/*/*.h*")

add_executable(linkport
        ${source_files} src/main.c ${head_files})
